﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace AUV5.Model
{
    /// <summary>
    /// 功能：     实体类 Menu (前台及后台显示的菜单) 
    /// 作者：     lwl
    /// 日期：     2011/10/13
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class Menu
    {
        public Menu()
        {

        }

        #region Model

        private string _menuid;
        private string _menuname;
        private string _parentid;
        private string _iconpath;
        private string _pageurl;
        private bool _isback;
        private int _isdel;
        private int _state;
        private DateTime _createdate = DateTime.Parse("1900-1-1");
        private DateTime _updatedate = DateTime.Parse("1900-1-1");
        private DateTime _begindate = DateTime.Parse("1900-1-1");
        private DateTime _enddate = DateTime.Parse("1900-1-1");

        /// <summary>
        /// 
        /// </summary>
        public string MenuID
        {
            get { return _menuid; }
            set { _menuid = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string MenuName
        {
            get { return _menuname; }
            set { _menuname = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ParentID
        {
            get { return _parentid; }
            set { _parentid = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string IconPath
        {
            get { return _iconpath; }
            set { _iconpath = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PageUrl
        {
            get { return _pageurl; }
            set { _pageurl = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsBack
        {
            get { return _isback; }
            set { _isback = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int State
        {
            get { return _state; }
            set { _state = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            get { return _createdate; }
            set { _createdate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateDate
        {
            get { return _updatedate; }
            set { _updatedate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime BeginDate
        {
            get { return _begindate; }
            set { _begindate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndDate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        #endregion Model
    }
}
